package com.xu.service;

import com.xu.pojo.Order;
import org.springframework.stereotype.Service;

import java.util.List;


public interface OrderService {

    List<Order> queryAllOrder();

    //删除产品
    int delOrder(int id);

    //修改产品
    int updOrder(Order order);

    int selectOrderNum();

    Order queryOrderById(int id);

    List<Order> queryOrderByUserId(int userid);

    int addOrder(Order order);
}
